package com.tg.login.helper;

import android.app.Activity;

import com.tange.module.login.facebook.FacebookLoginProxy;
import com.tange.module.login.google.GoogleLoginProxy;
import com.tange.module.login.line.LineLoginProxy;

public class OverseaLoginManager {

    public static void loginGoogle(Activity activity, int requestCode) {
        GoogleLoginProxy.launch(activity, requestCode);
    }

    public static void loginFacebook(Activity activity, int requestCode) {
        FacebookLoginProxy.launch(activity, requestCode);
    }

    public static void loginLine(Activity activity, int requestCode) {
        LineLoginProxy.launch(activity, requestCode);
    }

    public static void logoutGoogle(Activity activity, Runnable runnable) {
        GoogleLoginProxy.logout(activity, runnable);
    }

    public static void logoutFacebook(Activity activity, Runnable runnable) {
        FacebookLoginProxy.logout(activity, runnable);
    }

    public static void logoutLine(Activity activity, Runnable runnable) {
        LineLoginProxy.logout(activity, runnable);
    }
}

